package com.peas.platform.module.icims.contract.initial.service;

import com.peas.platform.framework.mybatisplus.service.BaseService;
import com.peas.platform.module.icims.base.approve.dto.ApproveOrderNodeDto;
import com.peas.platform.module.icims.contract.initial.api.resp.ContractPayableResp;
import com.peas.platform.module.icims.contract.initial.api.resp.ContractReceiptPaymentResp;
import com.peas.platform.module.icims.contract.initial.api.resp.ContractReceivableResp;
import com.peas.platform.module.icims.contract.initial.controller.vo.ContractInitialCashVo;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialCashDto;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialDto;

import java.util.List;

public interface ContractInitialCashService extends BaseService<ContractInitialCashDto> {

    ContractReceivableResp getContractReceivable();

    ContractPayableResp getContractPayable();

    ContractReceiptPaymentResp getContractReceiptPayment(Integer year, String type);

    void cashContractInitial(ContractInitialDto dto, Long approveId, List<ApproveOrderNodeDto> approveNodes, List<ContractInitialCashVo> items);

    void revocationContractInitialCash(Long id);

}
